package syntelos.sx;

import alto.lang.Header;

/**
 * <p> Frequently used headers. </p>
 * 
 * @author jdp
 * @since 1.6
 */
public abstract class Headers
    extends Object
{

    public final static Header Server = new Header("Server",Version.Long);

    /**
     * Method package version strings. 
     */
    public static class Method 
        extends Header.Http.Value.Method
    {

        /**
         * @see syntelos.sx.methods.Get
         */
        public final static syntelos.sx.Headers.Method SX  = new syntelos.sx.Headers.Method(Version.Short);
        /**
         * @see syntelos.sx.e.Compile
         */
        public final static syntelos.sx.Headers.Method SXE = new syntelos.sx.Headers.Method(Version.Short+" E/1.0");
        /**
         * @see syntelos.sx.methods.fragment.Get
         * @see syntelos.sx.methods.fragment.Put
         * @see syntelos.sx.methods.fragment.Delete
         */
        public final static syntelos.sx.Headers.Method SXF = new syntelos.sx.Headers.Method(Version.Short+" F/1.0");
        /**
         * @see syntelos.sx.h.Get
         * @see syntelos.sx.h.Put
         */
        public final static syntelos.sx.Headers.Method SXH = new syntelos.sx.Headers.Method(Version.Short+" H/1.0");
        /**
         * @see syntelos.sx.u.Get
         * @see syntelos.sx.u.Put
         */
        public final static syntelos.sx.Headers.Method SXU = new syntelos.sx.Headers.Method(Version.Short+" U/1.0");
        /**
         * @see syntelos.sx.s.Get
         * @see syntelos.sx.s.Put
         */
        public final static syntelos.sx.Headers.Method SXS = new syntelos.sx.Headers.Method(Version.Short+" S/1.0");
        /**
         * @see syntelos.sx.t.Get
         * @see syntelos.sx.t.Put
         */
        public final static syntelos.sx.Headers.Method SXT = new syntelos.sx.Headers.Method(Version.Short+" T/1.0");


        public Method(java.lang.String value){
            super(value);
        }
    }

}
